package com.syt.test

import java.io.File

private lateinit var file: File

suspend fun main() {

    val size = 1.5
    var num: Double = 17.0
    for (i in 1..10) {
        num *= size
    }
    println("num = ${num}")

    fun File.hello() {
        println("你好 hello file")
    }

    val file = File("")
    println(file.absolutePath)
    file.hello()

    getHello()

    println("111 222 333")

}

suspend fun getHello() {
    println("hello suspend")

    Thread.sleep(10000)
}